//
//  XJMeOrderCell.h
//  XinJiangMall
//
//  Created by Tzyang on 2018/4/3.
//  Copyright © 2018年 Tzyang. All rights reserved.
//
//typedef NS_ENUM (NSUInteger,ImgTextBtnStyle){
//    ImgTextBtnStyleTop,         // image在上，label在下
//    ImgTextBtnStyleLeft,        // image在左，label在右
//    ImgTextBtnStyleBottom,      // image在下，label在上
//    ImgTextBtnStyleRight        // image在右，label在左
//};
#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, XJMeOrderCellBtnType){
    XJMeOrderCellBtnTypeWaitPay,      //1.代付款
    XJMeOrderCellBtnTypeWaitReceive,  //2.待收货
    XJMeOrderCellBtnTypeWaitEvaluate, //3.带评价
    XJMeOrderCellBtnTypeFinish,       //4.已完成
    XJMeOrderCellBtnTypeAfterSale     //5.售后
} ;

typedef void(^XJMeOrderCellAllOrderBtnBlock)(void);
typedef void(^XJMeOrderCellBtnBypeBlock)(XJMeOrderCellBtnType buttonType); 


@class XJMeBadageModel;

@interface XJMeOrderCell : UITableViewCell

+ (instancetype)cellWithTableView:(UITableView *)tableView;

//我的订单
@property (nonatomic, strong) UILabel * xjme_orderLab;

//全部订单
@property (nonatomic, strong) UIButton * xjme_allOrderBtn;

@property (nonatomic, copy) NSArray * xjme_orderArray;
/**7-16 线*/
@property (nonatomic, strong) UIView *xjme_grayLineView;

/**点击全部按钮的block事件回调*/
@property (nonatomic, copy) XJMeOrderCellAllOrderBtnBlock allOrderBtnBlock;
@property (nonatomic, copy) XJMeOrderCellBtnBypeBlock btnTypeBlock;


/**设置角标*/
@property(nonatomic, strong) XJMeBadageModel *xjme_badageModel ;


@end
